//
//  JZHAddressTableViewCell.m
//  极致荟
//
//  Created by hetao on 14-8-22.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import "JZHAddressTableViewCell.h"

@implementation JZHAddressTableViewCell

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)addCellData:(JZHAdders *)adders viewcontroller:(JZHAddressViewController*)con
{
    thisadders=adders;
    self.name.text=adders.name;
    self.addres.text=[adders.addres stringByAppendingString:adders.content];
    thiscon=con;
}
- (IBAction)pusview:(id)sender
{
    [thiscon.navigationController pushViewController:[[JZHAddAdderssViewController alloc] initAdders:thisadders] animated:YES];
}
@end
